import React from 'react';
import {HashRouter,Route,Switch,} from 'react-router-dom';
import login from './route/login'
import Home from  './route/home'
import Zhuce from './route/zhuce'

class Router extends React.Component{
    // constructor(props) {
    //     super(props);
    // }
    render() {
        return(
            <div>
                <HashRouter>
                        <Switch>
                            <Route path="/login" component={login}></Route>
                            <Route path="/Zhuce" component={Zhuce}></Route>
                            <Route path="/" component={Home}></Route>
                        </Switch>
                </HashRouter>
            </div>
        )
    }
}

export  default  Router